//
// GNS_LoadScene.cpp
// GameHall
//
// Created by mr.l on 16/1/11.
//
//

#include "GNS_LoadScene.h"
#include "cocostudio/CocoStudio.h"
#include "ui/CocosGUI.h"
USING_NS_CC;
using namespace cocostudio::timeline;
using namespace ui;

#define winsize Director::getInstance()->getVisibleSize()

GNS_LoadScene::GNS_LoadScene()
{
    
}

GNS_LoadScene::~GNS_LoadScene()
{
    
}

Scene* GNS_LoadScene::createScene()
{
    auto scene = Scene::create();
    auto layer = GNS_LoadScene::create();
    scene->addChild(layer);
    return scene;
}

bool GNS_LoadScene::init()
{
    if ( !Layer::init() )
    {
        return false;
    }
    initData();
    return true;
}

#pragma mark - initData
void GNS_LoadScene::initData()
{
    
    
    // add your codes here...
    
}
void GNS_LoadScene::menuitembutton(cocos2d::Ref *pSender, ui::Widget::TouchEventType type){
    switch (type) {
        case cocos2d::ui::Widget::TouchEventType::ENDED:
            
            break;
            
        default:
            break;
    }

}
